import { createApp } from 'vue'

import './style.css'

import ElementPlus from 'element-plus'
import 'element-plus/dist/index.css'

// 引入自定义插件
import gloalComponent from './components/index'

// 引入路由
import router from './router/index'

// 引入存储仓库
import piniaStore from './store/index'

// 引入打印
import vuePrintNb from 'vue3-print-nb'

import './permisstion'

import App from './App.vue'

const app = createApp(App)

app.use(ElementPlus)
app.use(gloalComponent)
app.use(router)
app.use(piniaStore)
app.use(vuePrintNb)
app.mount('#app')

// console.log(import.meta.env)
